package borrowingInformationDao;


import java.sql.Date;
import java.util.List;
import table.BorrowingInformation;
import table.BorrowingInformationAll;
public interface BorrowingInformationDao {
	public List<BorrowingInformationAll> findAll(String x);
	public int findBorrowingTime(String x);
	//借阅图书时添加一条记录
	public void save(BorrowingInformation x);
	public void delete(int x);
	public void renew(int x,Date y);
	public List<BorrowingInformation> getBorrowingInformation(int x);
	public boolean isBorrowingInformation(int y);
	public String getUserName(int x);//通过图书唯一的编号 返回借阅该书的用户名 用于判断该书是否是该用户所借
}
